package com.three.entity;

public class TalkPackage extends ServicePackage{

    private int talkTime;
    private int smsCount;

    public TalkPackage(){

    }

    public TalkPackage(int id, String packageName, int talkTime, int smsCount, double price) {
        super(id, packageName, price);
        this.talkTime=talkTime;
        this.smsCount=smsCount;
    }

    @Override
    public void showInfo() {

    }

    public int getTalkTime() {
        return talkTime;
    }

    public void setTalkTime(int talkTime) {
        this.talkTime = talkTime;
    }

    public int getSmsCount() {
        return smsCount;
    }

    public void setSmsCount(int smsCount) {
        this.smsCount = smsCount;
    }
}
